package demo.java.lang.management.vo;

import org.apache.log4j.Logger;

public class XdcsLogger {

    private Logger logger;

    public XdcsLogger(Logger logger){
        this.logger = logger;
    }

    public void info(String msg) {
        if(logger == null){
            return;
        }

        logger.info(msg);
    }
}
